<html>
<head><meta charset="utf-8"><title>self profile · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/self.20profile.html">self profile</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214520409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/self%20profile/near/214520409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/self.20profile.html#214520409">(Oct 26 2020 at 00:03)</a>:</h4>
<p>I ran <code>RUSTFLAGs=-Zself-profile</code> on recent nightly and when I run measureme I get <code>Error: "Could not find profiling data file </code>regex-59411.mm_profdata`." Is there some other flag that needs to be passed in? I was following <a href="https://doc.rust-lang.org/beta/unstable-book/compiler-flags/self-profile.html">https://doc.rust-lang.org/beta/unstable-book/compiler-flags/self-profile.html</a></p>



<a name="214520603"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/self%20profile/near/214520603" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/self.20profile.html#214520603">(Oct 26 2020 at 00:07)</a>:</h4>
<p>I use this: <a href="https://rustc-dev-guide.rust-lang.org/profiling.html">https://rustc-dev-guide.rust-lang.org/profiling.html</a></p>



<a name="214584896"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/self%20profile/near/214584896" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/self.20profile.html#214584896">(Oct 26 2020 at 15:02)</a>:</h4>
<p><span class="user-mention" data-user-id="281950">@Aman Arora</span> You can use the workaround described here (<a href="https://github.com/rust-lang/measureme/issues/135#issuecomment-701314947">https://github.com/rust-lang/measureme/issues/135#issuecomment-701314947</a>) or if you just <code>git pull</code> the latest version of <code>rust-lang/rust</code> this should be resolved.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>